package com.last1mile.dao.mock;

import java.util.ArrayList;
import java.util.List;

import com.last1mile.dao.interfaces.MerServeDao;
import com.last1mile.pojo.MerServeDO;

// @Component("merServeDao")
public class MerServeDaoImplMock implements MerServeDao {

    @Override
    public Integer insertServe(MerServeDO merServeDo) {
        return 1;
    }

    @Override
    public List<MerServeDO> queryServeByMerId(Integer merId) {
        List<MerServeDO> records = new ArrayList<MerServeDO>();
        MerServeDO serveDo = new MerServeDO();
        serveDo.setId(1);
        serveDo.setMerId(5);
        serveDo.setServeTitle("包裹代收服务");
        serveDo.setServeDesc("5kg起步,预约送货上门");
        serveDo.setPriceDesc("5cny/个");

        records.add(serveDo);
        return records;
    }

    @Override
    public List<MerServeDO> queryServeByAddrExceptUser(MerServeDO merServeDo) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public MerServeDO queryServeById(Integer serveId) {
        // TODO Auto-generated method stub
        return null;
    }

	@Override
	public List<MerServeDO> queryServesByIdList(List<Integer> ids) {
		// TODO Auto-generated method stub
		return null;
	}

}
